package com.vecspace.dayu.code.source.model.old;

import com.vecspace.dayu.code.pojo.DataColumn;
import com.vecspace.dayu.code.pojo.DataTable;
import com.vecspace.dayu.code.ui.pojo.Form;

public class BizDataTable {
	private DataTable table;
	private boolean isTree;//本表是否是树形结构。
	private Long parentColumnId;//本表自身的上级字段，只有isTree==true时有效
	private DataColumn parentColumn;//本表自身的上级字段(同parentColumnId)，只有isTree==true时有效
	
//	private DataColumn catalogColumn;//本表(this.table)中，关联目录表的字段
//	private DataTable catalogTable;//本表(this.table)关联的目录表
	
	private Form form;
	
	public DataTable getTable() {
		return table;
	}
	public void setTable(DataTable table) {
		this.table = table;
	}
	public boolean getIsTree() {
		return isTree;
	}
	public void setIsTree(boolean isTree) {
		this.isTree = isTree;
	}
	public Long getParentColumnId() {
		return parentColumnId;
	}
	public void setParentColumnId(Long parentColumnId) {
		this.parentColumnId = parentColumnId;
	}
	public DataColumn getParentColumn() {
		return parentColumn;
	}
	public void setParentColumn(DataColumn parentColumn) {
		this.parentColumn = parentColumn;
	}
	public Form getForm() {
		return form;
	}
	public void setForm(Form form) {
		this.form = form;
	}
	
	
}
